package GUI.dao;

import GUI.pojo.UserDO;

public interface UserDAO {
    /**
     * 根据用户名和密码查询用户
     * @param username
     * @param pwd
     * @return
     */
    UserDO getByUsernameAndPwd(String username, String pwd);

    void update(UserDO userDO);
    UserDO getById(int id);
    UserDO getByUsername(String username);

}
